/**************************
* @Summary
* @Author 20009200303 赵传博
* @Date 2022/4/26
*****************************/

#ifndef EX4_TREE_H
#define EX4_TREE_H
#include "Tnode.h"

class Tree {
private:
    Tnode* root;
    int length;
public:
    Tree();
    Tree(Tnode* root);
    void insertNode(Tnode node, Tnode* start);
    void insertNode(string word, Tnode* start);
    void printTree(Tnode* start);
    void printInOrder(Tnode* start);
    ~Tree();
};


#endif //EX4_TREE_H
